package vim.meet.start;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.support.AbstractApplicationContext;

import vim.meet.business.param.IAdviceParameter;
import vim.meet.config.AspectConfig;


public class AdviceParameterStart {
	
	public static void main(String[] args) {
		AbstractApplicationContext  context = new AnnotationConfigApplicationContext(AspectConfig.class);
		IAdviceParameter bean = context.getBean(IAdviceParameter.class);
		String result = bean.JoinPointParamterMethod(1, "ok", 'c');
		System.out.println(result);
        context.close();
	}

}
